
import config from '../../config';
Component({
    properties: {
        datas: {
            type: Object,
            value:'',
        },
        type: {
            type: Number,
            value: null
        }
    },
    data: {
        URL: config._URL_,
        url: "/pages/jpLease/jpItemDetail/index"   //要跳转到的详情页面
    },
    methods: {
        go(e){
            let urlObj = {
                url: this.data.url +"?id="+e.currentTarget.dataset.id,
            }
            wx.navigateTo(urlObj);
        }
    },
    attached() {
        // console.log(this.data.datas);
    }
});